#ifndef LANDOWNER
#define LANDOWNER
#include<iostream>
#include<vector>
#include<iterator>
#include<algorithm>
#include<cstdlib>
#include<time.h>
using namespace std;

class LandOwner
{
private:
    string m_Nickname;
    string m_Sex;
    int m_Gold;
    long m_Exp;
    vector<int> packCards;              //默认的一副牌
    vector<int> surplusCards;           //摸牌后剩余的牌
    vector<int> currCards;              //当前玩家手里的牌
    bool isContains(int cardNum);       //判断剩余牌中是否包含cardNum这张牌
    void deleteCard(vector<int>&, int); //删除数组中的元素
    string getColor(int);               //获得花色
    string getValue(int);               //获得牌面

public:
    LandOwner();
    LandOwner(string);
    LandOwner(string, string, int, long);
    ~LandOwner();

    void ShouInfo();
    void TouchCards(int);//摸牌
    void InitCards();//初始化packCards,surplusCards,surrCards(清零)
    void ShowCards(const vector<int>&);//显示牌面

    string GetNickname() { return m_Nickname; }
    void SetNickname(string name) { m_Nickname = name; }
    string GetSex() { return m_Sex; }
    void SetSex(string sex) { m_Sex = sex; }
    int GetGold() { return m_Gold; }
    void SetGold(int gold) { m_Gold = gold; }
    long GetExp() { return m_Exp; }
    void SetExp(long exp) { m_Exp = exp; }
};


#endif